﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Factory>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	编辑公司信息
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div id="dolphincontainer">
	    <div id="dolphinnav">
	        <ul style="display:none;">
	            <li><a href="/Factory/Index"><span>公司管理</span></a></li>
                <li><a href="javascript:return(false);" class="current"><span>编辑公司信息</span></a></li>
	        </ul>
	    </div>
	</div>

    <p class="sys_create_btn">
        <%= Html.ActionLink("返回公司列表", "Index") %>
    </p>  
        
    <table cellpadding="4" cellspacing="0" class="com_detail_table" style="width:756px;">
        <tr>
            <th colspan="2">编辑公司信息<%= Html.HiddenFor(model => model.Id) %></th>
        </tr>
        
        <% using (Html.BeginForm(new { enctype = "multipart/form-data" }))
            { %>

            <%= Html.ValidationSummary(true) %>
            <%= Html.HiddenFor(model => model.Id) %>
        <tr>
            <td class="lab" style="width:130px;">公司名称：</td>
            <td>
                <%= Html.TextBoxFor(model => model.Name, new { size = "40" })%>
                <%= Html.ValidationMessageFor(model => model.Name) %>
            </td>
        </tr>
        <tr>
            <td class="lab" style="width:130px;">公司描述：</td>
            <td>
                <%= Html.TextAreaFor(model => model.Description, new { cols = "68" , rows = "14" })%>
                <%= Html.ValidationMessageFor(model => model.Description) %>
            </td>
        </tr>
        <% } %>

    </table>


</asp:Content>
